import java.util.Scanner;
public class jiage {
    public static void main(String[] args) {
        Scanner scanner=new Scanner(System.in);
        System.out.println("请输入商品价格");
        double j=scanner.nextDouble() ;
        System.out.println("亲，包邮吗？：");
        String i=scanner.next();
        if(i.equals  ("包邮")){
        System.out.println("您的实际付款价格为："+j);
       }
        else{System.out.print("您的实际付款价格为："+(j+20));

        }
    }
}
